nums=[]
num=eval(input("输入数字"))
n=len(num)
avg=sum(num)/n
for i in range(n):
    if num[i]>avg:
        nums.append(num[i])
for j in nums:
    print(j,end=' ')